﻿using System.Collections.Generic;

namespace MyFloridaHouse.libSvDTO
{
    public enum MapMultiShapeType
    {
        Empty = 0,
        Point =1,
        Polygon=2,
        MultiPolygon=3,
        LineString=4,
        MultiLineString=5,
        GeometricCollection=6
    }

    public class MapMultiShapeDTO
    {
        public MapMultiShapeType shapeType { get; set; }
        public List<MapMultiShapeEntryDTO> shapeList { get; set; }

        public MapMultiShapeDTO()
        {
            shapeType = MapMultiShapeType.Empty;
            shapeList = new List<MapMultiShapeEntryDTO>();
        }
    }

    public class MapMultiShapeEntryDTO
    {
        public MapMultiShapeType shapeType { get; set; }
        public List<PointDTO> ExteriorRing { get; set; }
        public List<List<PointDTO>> InteriorRings { get; set; }

        public MapMultiShapeEntryDTO()
        {
            shapeType = MapMultiShapeType.Empty;
            ExteriorRing = new List<PointDTO>();
            InteriorRings = new List<List<PointDTO>>();
        }
    }
}
